<?php
namespace catchAdmin\product\model\search;

trait PackSearch
{
    public function searchUnitNameAttr($query, $value, $data)
    {
        return $query->whereLike('unit_name', $value);
    }
    public function searchPackingIdAttr($query, $value, $data)
    {
        return $query->whereIn('packing_id', $value);
    }

}
